package commons.dao;

import java.io.Serializable;
import java.util.List;

import commons.meta.RuntimeObject;

/**
 * crud
 * TODO add more and more
 * @author jkyang
 */
public interface DomainDAO {

	void insert(RuntimeObject object);

	void update(RuntimeObject object);

	void deleteById(Serializable id);

	List<RuntimeObject> query(RuntimeObject object);
}
